package com.itheima.vo.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentsVo implements Serializable {
    private String id;//评论id
    private String avatar;//头像
    private Integer userId;//评论人id
    private String nickname;//用户昵称
    private String content;//评论内容
    private String createDate;//创建时间
    private Integer likeCount;//点赞数
    private Integer hasLiked;//是否点赞
}
